import md5 from 'js-md5'
import defaultSettings from './../setting'

class JsMd5 {
  encryption(password) {
    return md5(`${password}${defaultSettings.randomNumberSuffix}`)
  }
}

export default new JsMd5()
